package com.lvy.hczn.front.system.domain.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lvy.hczn.front.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @description: 生产加工方式
 * @projectName: system-service
 * @package: com.service.system.info.domain.business
 * @className: ProductionProcessingType
 * @author: yw
 * @date: 2024/12/31 14:16
 */
@Data
@TableName("production_processing_type")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "生产加工方式")
public class ProductionProcessingType extends BaseModel<ProductionProcessingType> {

    @ApiModelProperty(value = "加工方式")
    private String name;

    @ApiModelProperty(value = "人工价格")
    private BigDecimal labourPrice;

    @ApiModelProperty(value = "材料价格")
    private BigDecimal materialsPrice;

    @ApiModelProperty(value = "0:新增,1:修改,2:删除")
    private Integer type;

    @ApiModelProperty(value = "计费单位:重量g")
    private BigDecimal priceNum;

    @ApiModelProperty(value = "计费单位:重量g")
    private String priceUnit;
}
